import Vue from 'vue'

import 'core-js/stable'
import 'regenerator-runtime/runtime'

import App from './App.vue'
import router from './router'
import store from './store'
import '@utils/extension/date'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import VueQuillEditor from 'vue-quill-editor'
 
// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import 'nprogress/nprogress.css' // progress bar style
import { message } from './assets/js/resetMessage';//解决提示框一次出现多个
// 权限指令
import permission from './components/permission'
//引入基本模板
let echarts = require('echarts/lib/echarts')
// 引入折线图等组件
require('echarts/lib/chart/line')
require('echarts/lib/chart/bar')
require('echarts/lib/chart/pie')
// 引入提示框和title组件，图例
require('echarts/lib/component/tooltip')
require('echarts/lib/component/title')
require('echarts/lib/component/legend')
require('echarts/lib/component/legendScroll')//图例翻译滚动
Vue.prototype.$echarts = echarts


Vue.use(ElementUI)
Vue.use(permission)
Vue.prototype.$message = message;//解决提示框一次出现多个
import mixins from '@mixins'

Vue.use(mixins)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')